﻿using System;
using System.Linq.Expressions;
using System.Web.Mvc;

namespace Applications.Presentation.Extensions.Commons
{
    /// <summary>
    /// 在线HTML编辑器控件
    /// </summary>
    public interface IUeditorControl<T>
    {
        /// <summary>
        /// 编辑
        /// </summary>
        MvcHtmlString Edit<TProperty>(Expression<Func<T, TProperty>> expression, string iframeId = "ueditor", int width = 1024, int height = 400);
    }
}
